package com.lin.forum.mapper;
import com.lin.forum.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {
    //根据名称，查询用户信息
    @Select("select * from t_user where username=#{name} and deleteState=0")
    User selectByName(String name);

}
